﻿
function biz_start(){
}

function post_data() {	
    var formData = new FormData(document.querySelector("form")); //获取form值
    $.ajax({
        url: baseUrl+"&param_name=upLoadFile&session_id="+session_id,//"http://121.196.123.124:8083/CenterData/uploadFile",
        type: "POST",
        data: formData,
        processData: false, // 不处理数据
        contentType: false, // 不设置内容类型
        success: function (input) {
            data2 = $.parseJSON(input).A01_UpLoadFile;
            var v_file1 = "";
            var v_file2 = "";
            var v_file3 = "";
            var v_file4 = "";
            var v_file5 = "";
            $.each(data2, function (i, obj) {
                if (i == 0)
				{
                    v_file1 = obj.newFileName;
				}
                else if (i == 1)
				{
                    v_file2 = obj.newFileName;
				}
                else if (i == 2)
				{
                    v_file3 = obj.newFileName;
				}
                else if (i == 3)
				{
                    v_file4 = obj.newFileName;
				}
                else if (i == 4)
				{
                    v_file5 = obj.newFileName;
				}
				
				$("#file_name").append(obj.newFileName+"<br>");
            });
        }
    });
}
